package com.hsource.doctorcenter.domain.doctor;

import com.hsource.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 医生咨询价格对象 xy_doctor_price
 * 
 * @author yangyang
 * @date 2020-09-24
 */
public class DoctorPrice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 医生ID */
    private String doctorId;

    /** 价格 */
    private Long price;

    /** 原始价格 **/
    private Long originalPrice;

    /** 咨询类型 IT:图文 TH:电话 */
    private String consultType;

    /** 长度 */
    private Long timeLength;

    /** 是否浮动 */
    private Integer isFloat;

    /** 浮动比例 */
    private String floatingRatio;

    public Long getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Long originalPrice) {
        this.originalPrice = originalPrice;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDoctorId(String doctorId) 
    {
        this.doctorId = doctorId;
    }

    public String getDoctorId() 
    {
        return doctorId;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setConsultType(String consultType) 
    {
        this.consultType = consultType;
    }

    public String getConsultType() 
    {
        return consultType;
    }
    public void setTimeLength(Long timeLength) 
    {
        this.timeLength = timeLength;
    }

    public Long getTimeLength() 
    {
        return timeLength;
    }
    public void setIsFloat(Integer isFloat) 
    {
        this.isFloat = isFloat;
    }

    public Integer getIsFloat() 
    {
        return isFloat;
    }
    public void setFloatingRatio(String floatingRatio) 
    {
        this.floatingRatio = floatingRatio;
    }

    public String getFloatingRatio() 
    {
        return floatingRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorId", getDoctorId())
            .append("price", getPrice())
            .append("consultType", getConsultType())
            .append("timeLength", getTimeLength())
            .append("isFloat", getIsFloat())
            .append("floatingRatio", getFloatingRatio())
            .toString();
    }


}
